package cn.bluemobi.app.service;

import cn.bluemobi.app.entity.form.AddressForm;
import cn.bluemobi.app.entity.output.Address;
import cn.bluemobi.common.core.dto.Dto;
import cn.bluemobi.common.core.dto.ListDto;

public interface AddressService {
    ListDto<Address> findAllAddress(String memberId);

    Dto<Object> saveOrUpdateAddress(String memberId, AddressForm addressForm);

    Dto<Object> deleteAddress(String memberId, String addressId);

    Dto<Address> findDefaultAddress(String memberId);
}
